package com.db.person.mapper;

import com.db.person.bean.UserVisit;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserVisitMapper {

    public List<UserVisit> getAll();

    public List<UserVisit> getByContent(@Param("content") String content);

    public void deleteById(Integer id);

    public void deleteByIds(String ids);

    public void insert(@Param("userVisit") UserVisit userVisit);

    public void updateById(@Param("exitTime") String exitTime,@Param("id") Integer id);
}
